package com.example.userservice.service;

import com.example.userservice.dto.LoginDTO;
import com.example.userservice.dto.RegisterDTO;
import com.example.userservice.user.User;

import java.util.List;

public interface UserService {
    public void register(RegisterDTO register);
    public String login(LoginDTO login);
    public List<String> getUsers(Long userId);
    public void resetPassword(Long userId);
    public List<User> select(Long userId);
    public int change(Long userId,User user);
    public int grade(Long userId,Long targetId);
}
